package com.vanceinfo;

public class Num {
	public int sum(){
		int total = 0;
		for(int i=1;i<=100;i++){
			total+=i;
		}
		return total;
	}
	public static void main(String[] args) {
		Num obj = new Num();
		int temp = obj.sum();
		System.out.println(temp);

	}

}
